package com.shuyu.service;

import com.alipay.api.response.AlipayTradeAppPayResponse;
import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult;
import com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderRequest;

import javax.servlet.http.HttpServletRequest;

public interface PayNotifyService {




    WxPayUnifiedOrderRequest createWxOrder(int productId,HttpServletRequest request);

    AlipayTradeAppPayResponse createAlipayOrder(int productId) throws Exception;

    void handleOrderNotifyResult(WxPayOrderNotifyResult notifyResult);

    void handleAlipayOrderNotifyResult(String outTradeNo, String tradeStatus, String tradeNo);

    void pointPay(int productId,int activityProductId);
}
